package com.lancoo.znbkxx.teacher.ui.mpAndroidChart.myPie;

/**
 * @author LiCheng
 * @date 2019/2/22
 */
public class MyPieEntry {

    //颜色
    private int color;
    //比分比
    private float percentage;
    //条目名
    private String label;
    private String labelx;
    private String labely;
    //扇区起始角度
    private float currentStartAngle;
    //扇区总角度
    private float sweepAngle;

    public MyPieEntry(float percentage, String label, String labelx, String labely) {
        this.percentage = percentage;
        this.label = label;
        this.labelx = labelx;
        this.labely = labely;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public float getPercentage() {
        return percentage;
    }

    public void setPercentage(float percentage) {
        this.percentage = percentage;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLabelx() {
        return labelx;
    }

    public void setLabelx(String labelx) {
        this.labelx = labelx;
    }

    public String getLabely() {
        return labely;
    }

    public void setLabely(String labely) {
        this.labely = labely;
    }

    public float getSweepAngle() {
        return sweepAngle;
    }

    public void setSweepAngle(float sweepAngle) {
        this.sweepAngle = sweepAngle;
    }

    public float getCurrentStartAngle() {
        return currentStartAngle;
    }

    public void setCurrentStartAngle(float currentStartAngle) {
        this.currentStartAngle = currentStartAngle;
    }
}
